package com.example.entity;


/**
 * 收藏信息表
*/
public class Collect {
    /** 主键ID */
    private Integer id;
    /** 用户ID */
    private Integer userId;
    /** 关联ID */
    private Integer relId;
    /** 收藏时间 */
    private String time;
    /** 类别 */
    private String type;

    private String userName;
    private Album album;
    private Sing sing;
    private Singer singer;
    private Playlist playlist;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRelId() {
        return relId;
    }

    public void setRelId(Integer relId) {
        this.relId = relId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Album getAlbum() {
        return album;
    }

    public void setAlbum(Album album) {
        this.album = album;
    }

    public Sing getSing() {
        return sing;
    }

    public void setSing(Sing sing) {
        this.sing = sing;
    }

    public Singer getSinger() {
        return singer;
    }

    public void setSinger(Singer singer) {
        this.singer = singer;
    }

    public Playlist getPlaylist() {
        return playlist;
    }

    public void setPlaylist(Playlist playlist) {
        this.playlist = playlist;
    }
}